/**
 * 文件、图片上传
 */
import request from '@/utils/request'

export function uploadImage(data){
   return request({
      url:'/imageupload',
      method:'post',
      data:data,
      headers: {
         'Content-Type': 'multipart/form-data'
      }
   });
}

export function uploadExcel(data){
   return request({
      url:'/excelupload',
      method:'post',
      data:data,
      headers: {
         'Content-Type': 'multipart/form-data'
      }
   });
}
